package com.regulareport.form.mapper;

import com.regulareport.common.core.domain.entity.ReportIndexAdditionalRecording;
import com.regulareport.form.domain.db.result.FillingResult;
import com.regulareport.form.domain.rep.BackSearchRe;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.Date;
import java.util.HashMap;
import java.util.List;

public interface ReportIndexAdditionalRecordingMapper {
    List<FillingResult> selectBySearch(BackSearchRe backSearchRe);

    List<HashMap<String, Object>> selectCount(@Param("no") String reportFormNo, @Param("num") String deptNum);

    int selectCountB0(@Param("no") String reportNo, @Param("num") String deptNum);

    List<FillingResult> selectByB0Search(BackSearchRe backSearchRe);

    BigDecimal selectRate(@Param("f") String s, @Param("t") String s1, @Param("d") Date dataDt);

    void insertAdditionalBatch(@Param("list") List<ReportIndexAdditionalRecording> recordings);

    List<FillingResult> selectAllBuLu(BackSearchRe backSearchRe);
}
